package com.xbenmh.order.fillbean;

import org.springframework.stereotype.Component;

/**
 * @Author: xben
 * @Date: 2018/11/29 16:08
 */
@Component
public class SgtPeppers implements CompactDisc{
    private String title = "Sgt. Pepper's Lonely Hearts Club Band";
    private String artist = " The Beatles";
    @Override
    public void play() {
        System.out.println("Plauing  " + title + " by " +artist);
    }
}
